package tech.yilingyi.springdemo.cglib;

import org.springframework.transaction.annotation.Transactional;

/**
 * Created by yinzuolong on 2016/12/26.
 */
public class ProductDao {

    @Transactional
    public void insert() {
        System.out.println("insert...");
    }

    public void doInsert() {
        insert();
    }
}
